export function formatBorder(status) {
    if (status === "Active") {
        return "3px solid #52c41a";
    } else if (status === "Missing") {
        return "3px solid red";
    } else {
        return "3px solid #B6B6B6";
    }
}
export function formatIclass(status) {
    if (status === "Active") {
        return "empty";
    } else if (status === "Missing") {
        return "defect2";
    } else {
        return "release";
    }
}
export function formatTextcolor(status) {
    if (status === "Active") {
        return "#52C41A";
    } else if (status === "Missing") {
        return "red";
    } else {
        return "#B6B6B6";
    }
}
export function formatText(status) {
    if (status === "Active") {
        return "激活";
    } else if (status === "Missing") {
        return "缺失";
    } else {
        return "释放";
    }
}
// // 状态文字前图标
export function formatArrow(status) {
    if (status === "Active") {
        return "greenArrow";
    } else if (status === "Missing") {
        return "redArrow";
    } else {
        return "greyArrow";
    }
}
// // 时间前图标
export function formatWatches(status) {
    if (status === "Active") {
        return "greenWatches";
    } else if (status === "Missing") {
        return "redWatches";
    } else {
        return "greyWatches";
    }
}
// // div根据状态改变背景色
// export function formatStaeColor() {
//     if (status === "Active") {
//         return "#F2F2F2";
//     } else if (status === "Missing") {
//         return "#FBF2F2";
//     } else {
//         return "#F1F5EF";
//     }
// }